{% if   ansible_default_ipv4['address']  == play_hosts[0]  %}
1
{%endif%}
{% if   ansible_default_ipv4['address'] == play_hosts[1]  %}
2
{%endif%}
{% if   ansible_default_ipv4['address']   == play_hosts[2]  %}
3
{%endif%}
